package com.one.blocks.rbac.controller.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Set;

/**
 * @author <a href="mailto:idler41@163.con">linfuxin</a> created on 2023-08-19 10:54:29
 */
@ApiModel(value = "系统目录授权")
@Data
public class SysMenuGrantVo implements Serializable {

    @ApiModelProperty(value = "授权目录ID集合")
    private Set<Integer> menuIds;

    @ApiModelProperty(value = "指定角色id")
    @NotNull
    private Integer roleId;
}
